/* NetworkHome 主容器样式 */
.network-home-container {
  padding: 24px;
  background: #f5f5f5;
  min-height: 100vh;
}

.network-home-content {
  max-width: 1200px;
  margin: 0;
  margin-left: 0;
}

/* 页面头部样式 */
.page-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
}

.page-header-info h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.page-header-info .subtitle {
  color: #666;
  margin-top: 4px;
}

.create-network-btn {
  border-radius: 8px;
}

/* 网络部分样式 */
.network-section {
  margin-bottom: 24px;
  border-radius: 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.section-title {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 18px;
  color: #333;
}

.section-title .anticon {
  margin-right: 8px;
  color: #1890ff;
}

.section-badge {
  margin-left: 8px;
}

.refresh-btn {
  border: none;
  box-shadow: none;
}

/* 用户网络标签页样式 */
.network-section .ant-tabs {
  margin: 0;
}

.network-section .ant-tabs-tab {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.network-section .ant-tabs-tab:hover {
  background: rgba(24, 144, 255, 0.06);
}

.network-section .ant-tabs-tab-active {
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(24, 144, 255, 0.05) 100%);
  border-bottom: 2px solid #1890ff;
}

.network-section .ant-tabs-tab-btn {
  color: #595959;
}

.network-section .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #1890ff;
  font-weight: 600;
}

.network-section .ant-tabs-ink-bar {
  background: linear-gradient(90deg, #1890ff 0%, #52c41a 100%);
  height: 3px;
  border-radius: 2px;
}

.network-section .ant-tabs-content-holder {
  padding: 0;
}

.network-section .ant-tabs-tabpane {
  padding: 16px 0;
}

/* 标签页额外内容样式 */
.network-section .ant-tabs-extra-content button {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.network-section .ant-tabs-extra-content button:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8e8e8 100%);
  border-color: #1890ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 网络卡片网格 */
.network-grid {
  padding: 16px;
}

/* 搜索筛选区域 */
.search-filter-container {
  margin-bottom: 16px;
  padding: 0 24px;
}

/* 分页容器 */
.pagination-container {
  text-align: center;
  margin-top: 24px;
  padding: 0 24px 16px;
}

/* 空状态样式 */
.empty-state-container {
  text-align: center;
  padding: 40px 24px;
}

.empty-state-container .empty-icon {
  font-size: 48px;
  color: #d9d9d9;
  margin-bottom: 16px;
}

.empty-state-container h4 {
  color: #999;
  margin-bottom: 8px;
}

.empty-state-container .empty-description {
  color: #666;
  margin-bottom: 16px;
}

/* 加载状态样式 */
.loading-container {
  text-align: center;
  padding: 40px 0;
}

.loading-container .loading-text {
  margin-top: 16px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .network-home-container {
    padding: 16px;
  }
  
  .page-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .create-network-btn {
    width: 100%;
  }
  
  .search-filter-container .ant-row {
    flex-direction: column;
  }
  
  .search-filter-container .ant-col {
    width: 100%;
    margin-bottom: 8px;
  }

  /* 移动端标签页样式优化 */
  .network-section .ant-tabs-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .network-section .ant-tabs-extra-content {
    margin-top: 8px;
  }
}